home *** CD-ROM | disk | FTP | other *** search
/ VRML 2.0 Sourcebook (2nd Edition) / VRML 2.0 Sourcebook CD [md5 fed90f4f9c39d5a60d477058775c7e21].iso / book / unix / ch13 / 13fig10.wrl < prev    next >
Text File  |  1996-09-22  |  528b  |  28 lines

  1. #VRML V2.0 utf8
  2. # The VRML 2.0 Sourcebook
  3. # Copyright [1997] By
  4. # Andrea L. Ames, David R. Nadeau, and John L. Moreland
  5. Shape {
  6.     appearance Appearance {
  7.         material Material {
  8.             emissiveColor 1.0 1.0 1.0
  9.         }
  10.     }
  11.     geometry PointSet {
  12.         coord Coordinate {
  13.             point [
  14.             # Coordinates around the top of the cube
  15.                 -1.0  1.0  1.0,
  16.                  1.0  1.0  1.0,
  17.                  1.0  1.0 -1.0,
  18.                 -1.0  1.0 -1.0,
  19.             # Coordinates around the bottom of the cube
  20.                 -1.0 -1.0  1.0,
  21.                  1.0 -1.0  1.0,
  22.                  1.0 -1.0 -1.0,
  23.                 -1.0 -1.0 -1.0
  24.             ]
  25.         }
  26.     }
  27. }
  28.